<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>关键字申请</title>
<%@ include file="head.jsp" %>
<link id='theme' rel='stylesheet' href='static/css/keyword.css'/>
<script type="text/javascript" src="static/js/keywords.js" charset="UTF-8"></script> 
</head>
<body>
<div class="keywords_sheqing_container">
<div class="searchuserdiv">
<div>搜索客户：<input id="searchUerText" type="text" /> 输入后自动搜索
<c:if test="${account != null}">
	<font color="red" size="2"> 
【当前账户余额：￥ <span id="accountspan">${account.money}</span>】</font>
</c:if>  
<div id="serachresult" class="searchresult"></div>
</div>
</div>
<div class="formdiv">
	<ul>
		<li><a>客户名称：</a><input id="keywords_shenqing_customname" class="customname" type="text" readonly="readonly" /></li>
		<li><a>关键词：</a><input id="keyword" class="keyword" type="text" /> <span id="keywordtip" class="keywordtip"></span></li>
		<li><a>服务类别：</a>
			<select id="servicetype">
				<option value=''>--请选择--</option>
				<c:forEach items="${serviceType}" var="type">
					<option value="${type.id}" 
						<c:if test="${ keywords.productType == type.id}">selected="selected"</c:if>>
					${type.configtypename}</option>
				</c:forEach>
			</select>
		</li>
		<li><a>服务年限：</a>
		<select id="serviceyears">
			<option value="" selected="selected">--请选择--</option>
			<c:if test="${not empty maxyears}">
			<c:forEach var="i" begin="1" end="${maxyears.configvalue}" step="1">
				<option value="${i}">${i}</option>
			</c:forEach>
			</c:if>
			<c:forEach items="${youhuiType}" var="type">
				<option value="youhui_${type.id}">${type.configtypename }</option>
			</c:forEach>
			</select>
		</li>
		<li><a>价格：</a><input class="price" id="price" type="text" readonly="readonly"/></li>
		<li><input id="submitkeyword" type="button" value="提交申请"/></li>
	</ul>
</div>
</div>
</body>
</html>